﻿<Window
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	x:Class="ERP.UI.SystemAdministrator.CompanyInformation"
	x:Name="Window"
	Title="CompanyInformation"
	Width="410" Height="350" Background="{x:Null}" ResizeMode="NoResize" ShowInTaskbar="False" WindowStartupLocation="CenterScreen" WindowStyle="None" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" Loaded="Window_Loaded">

	<Grid x:Name="LayoutRoot" Background="{DynamicResource WindowBackground}">
		<Button Content="Save" x:Name="btnSave" Click="btnSave_Click" TabIndex="9" Margin="0,0,22,17.153" Width="92" HorizontalAlignment="Right" Height="24.847" VerticalAlignment="Bottom"/>
        <Button x:Name="btnCancel"  Click="btnCancel_Click" TabIndex="10" Width="35" HorizontalAlignment="Right" Margin="0,10,22,0" Height="32" VerticalAlignment="Top"  Style="{DynamicResource CloseButton}" />
        <Label Visibility="Hidden" Content="Saved successfully" x:Name="lblSavedSuccessfully" Margin="132,0,136,6" Height="29" VerticalAlignment="Bottom"/>
		<Label Visibility="Hidden" Style="{DynamicResource ErrorMessage}" Content="Cannot save!" x:Name="lblCannotSave" Margin="150,0,154,9" Height="26" VerticalAlignment="Bottom"/>
		<Label Visibility="Hidden" Style="{DynamicResource ErrorMessage}" Content="Please fill all fields" x:Name="lblInvalidFields" Margin="150,0,154,9" Height="26" VerticalAlignment="Bottom"/>
		<Label Content="Company's information" Margin="12,8,95,0" VerticalAlignment="Top" Height="30" FontSize="16" FontStyle="Normal" FontWeight="Normal" />
        <StackPanel Name="stackPanel2" Margin="12,42,0,46" HorizontalAlignment="Left" Width="120">
            <StackPanel.Resources>
                <Style TargetType="{x:Type Label}">
                    <Setter Property="Margin" Value="0,7,0,0"/>
                    <Setter Property="Foreground" Value="#FF959494" />
                </Style>
            </StackPanel.Resources>
            <Label Content="Name" Width="120"  />
            <Label Content="Address" Width="120"  />
            <Label Content="Phone" Width="120"  />
            <Label Content="Fax" Width="120"  />
            <Label Content="Tax code" Width="120"  />
            <Label Content="Social security number" Width="120"  />
            <Label Content="Email address" Width="120"  />
            <Label Content="Website" Width="120"  />
        </StackPanel>
        <StackPanel Name="stackPanel3" Margin="138,45,12,46">
            <StackPanel.Resources>
                <Style TargetType="{x:Type TextBox}">
                    <Setter Property="Margin" Value="0,10,0,0"/>
                </Style>
            </StackPanel.Resources>
            <TextBox Text="" TextWrapping="Wrap" x:Name="tbName" TabIndex="1" Width="235" />
            <TextBox Text="" TextWrapping="Wrap" x:Name="tbAddress" TabIndex="2" Width="235" />
            <TextBox Text="" TextWrapping="Wrap" x:Name="tbPhone" TabIndex="3" Width="235" />
            <TextBox Text="" TextWrapping="Wrap" x:Name="tbFax" TabIndex="4" Width="235" />
            <TextBox Text="" TextWrapping="Wrap" x:Name="tbTaxCode" TabIndex="5" Width="235" />
            <TextBox Text="" TextWrapping="Wrap" x:Name="tbSSN" TabIndex="6" Width="235" />
            <TextBox Text="" TextWrapping="Wrap" x:Name="tbEmail" TabIndex="7" Width="235" />
            <TextBox Text="" TextWrapping="Wrap" x:Name="tbWebsite" TabIndex="8" Width="235" />
        </StackPanel>
        <Border BorderBrush="{DynamicResource BorderBrush}"/>
	</Grid>
</Window>